package com.sinosoft.bee.services.cousumerwithfeign.demo.service;

import com.github.pagehelper.PageInfo;
import com.sinosoft.bee.services.cousumerwithfeign.demo.entity.User;

import java.util.List;

public interface UserService {

    List<User> getAllUsers();

    PageInfo<User> getUserByPage(Integer pageNum, Integer pageSize);
}
